Skip to content

Conversation

toger5
Copy link
Contributor

@toger5 toger5 commented Sep 19, 2025

We need a way to cap the lifetime of the m.rtc.notification event. It makes sense to combine this with a method that also validates all the fields of the event.
parseCallNotificationContent does the validation and tha cap.
Signed-off-by: Timo K [email protected]

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

Copy link
Contributor

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, can we get some tests, specifically on the cap value

Copy link
Member

@BillCarsonFr BillCarsonFr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions

Copy link
Member

@BillCarsonFr BillCarsonFr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but see my comment about the max value

@toger5 toger5 enabled auto-merge October 21, 2025 13:00
@toger5 toger5 added this pull request to the merge queue Oct 21, 2025
Merged via the queue into develop with commit 977d032 Oct 21, 2025
32 checks passed
@toger5 toger5 deleted the toger5/cap-lifetime-m.rtc.notification branch October 21, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants